package tgc.edu.xzy.repository;

import org.springframework.stereotype.Repository;

import tgc.edu.xzy.custom.CommonRepository;
import tgc.edu.xzy.entity.Teacher;

@Repository
public interface TeacherRepsitory extends CommonRepository<Teacher, Integer>{

	public Teacher findByUsernameAndPassword(String username, String password);

}
